package com.yejiarong.weather.common.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author YeJR
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "auth")
public class AuthConfig {

    private String jwkUri;

    private Permit permit;

    @Data
    public static class Permit {

        private String[] endpoints;

    }



}
